8.8
HIGH CVSS 3.1
CVE-2022-3008
Command Injection on tinygltf
Description

The tinygltf library uses the C library function wordexp() to perform file path expansion on untrusted paths that are provided from the input file. This function allows for command injection by using backticks. An attacker could craft an untrusted path input that would result in a path expansion. We recommend upgrading to 2.6.0 or past commit 52ff00a38447f06a17eab1caa2cf0730a119c751

INFO

Published Date :

Sept. 5, 2022, 9:15 a.m.

Last Modified :

Nov. 21, 2024, 7:18 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2022-3008 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Tinygltf_project tinygltf
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
A command injection vulnerability exists in the tinygltf library due to improper handling of file paths.
  • Upgrade the tinygltf packages to version 2.6.0 or later.
  • If running Debian 11, ensure the packages are version 2.5.0+dfsg-3+deb11u1 or later.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-3008.

URL Resource
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 Exploit Issue Tracking Mailing List Third Party Advisory
https://github.com/syoyo/tinygltf/blob/master/README.md Product Third Party Advisory
https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 Patch Third Party Advisory
https://github.com/syoyo/tinygltf/issues/368 Exploit Issue Tracking Patch Third Party Advisory
https://www.debian.org/security/2022/dsa-5232 Third Party Advisory
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 Exploit Issue Tracking Mailing List Third Party Advisory
https://github.com/syoyo/tinygltf/blob/master/README.md Product Third Party Advisory
https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 Patch Third Party Advisory
https://github.com/syoyo/tinygltf/issues/368 Exploit Issue Tracking Patch Third Party Advisory
https://www.debian.org/security/2022/dsa-5232 Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-3008 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-3008 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-3008 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053
    Added Reference https://github.com/syoyo/tinygltf/blob/master/README.md
    Added Reference https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751
    Added Reference https://github.com/syoyo/tinygltf/issues/368
    Added Reference https://www.debian.org/security/2022/dsa-5232
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Oct. 01, 2022

    Action Type Old Value New Value
    Changed Reference Type https://www.debian.org/security/2022/dsa-5232 No Types Assigned https://www.debian.org/security/2022/dsa-5232 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Sep. 22, 2022

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2022/dsa-5232 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 09, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 No Types Assigned https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49053 Exploit, Issue Tracking, Mailing List, Third Party Advisory
    Changed Reference Type https://github.com/syoyo/tinygltf/blob/master/README.md No Types Assigned https://github.com/syoyo/tinygltf/blob/master/README.md Product, Third Party Advisory
    Changed Reference Type https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 No Types Assigned https://github.com/syoyo/tinygltf/commit/52ff00a38447f06a17eab1caa2cf0730a119c751 Patch, Third Party Advisory
    Changed Reference Type https://github.com/syoyo/tinygltf/issues/368 No Types Assigned https://github.com/syoyo/tinygltf/issues/368 Exploit, Issue Tracking, Patch, Third Party Advisory
    Added CWE NIST CWE-77
    Added CPE Configuration OR *cpe:2.3:a:tinygltf_project:tinygltf:*:*:*:*:*:*:*:* versions up to (excluding) 2.6.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

7.90 }} -0.25%

score

0.91681

percentile